﻿namespace Athena.RemoteAddress
{
    public class ServiceAddressEventArgs
    {
        public ServiceAddressDescriptor Descriptor { get; set; }

        public ServiceAddressEventArgs(ServiceAddressDescriptor descriptor)
        {
            Descriptor = descriptor;
        }
    }

    public class ServiceAddressEventArgs : ServiceAddressEventArgs
    {
        public ServiceAddressEventArgs(ServiceAddressDescriptor descriptor, ServiceAddressDescriptor descriptorHistory) : base(descriptor)
        {
            DescriptorHistory = descriptorHistory;
        }

        public ServiceAddressDescriptor DescriptorHistory {
            get; set;
        }
    }
}
